<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="language" content="en" />


	<!-- blueprint CSS framework -->
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/screen.css" media="screen, projection" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/print.css" media="print" />
	<!--[if lt IE 8]>
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/ie.css" media="screen, projection" />
	<![endif]-->

	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/main.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/form.css" />

	<title><?php echo CHtml::encode($this->pageTitle); ?></title>

			<?php Yii::app()->clientScript->registerCoreScript('jquery'); ?>

		<link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/scripts/supersized/slideshow/css/supersized.css" type="text/css" media="screen" />
		<link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/scripts/supersized/slideshow/theme/supersized.shutter.css" type="text/css" media="screen" />

		<!--<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>-->
		<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/scripts/supersized/slideshow/js/jquery.easing.min.js"></script>

		<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/scripts/supersized/slideshow/js/supersized.3.2.7.min.js"></script>
		<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/scripts/supersized/slideshow/theme/supersized.shutter.min.js"></script>

		<script type="text/javascript">

			jQuery(function($){

				$.supersized({

					// Functionality
					slide_interval          :   3000,		// Length between transitions
					transition              :   3, 			// 0-None, 1-Fade, 2-Slide Top, 3-Slide Right, 4-Slide Bottom, 5-Slide Left, 6-Carousel Right, 7-Carousel Left
					transition_speed		:	700,		// Speed of transition

					// Components
					slide_links				:	'blank',	// Individual links for each slide (Options: false, 'num', 'name', 'blank')
					slides 					:  	[			// Slideshow Images

														{image :
															"<?php echo Yii::app()->request->baseUrl; ?>"+"/images/slide1.jpg",
															title : 'Image Credit: Maria Kazvan',
															thumb : "<?php echo Yii::app()->request->baseUrl; ?>"+"/images/slide1.jpg",
															//url : "<?php echo Yii::app()->request->baseUrl; ?>"+"/images/slide1.jpg"
														},
														{image :
															"<?php echo Yii::app()->request->baseUrl; ?>"+"/images/slide2.jpg",
															title : 'Image Credit: Maria Kazvan',
															thumb : "<?php echo Yii::app()->request->baseUrl; ?>"+"/images/slide1.jpg",
															//url : "<?php echo Yii::app()->request->baseUrl; ?>"+"/images/slide1.jpg"
														},
														{image :
															"<?php echo Yii::app()->request->baseUrl; ?>"+"/images/slide7.jpg",
															title : 'Image Credit: Maria Kazvan',
															thumb : "<?php echo Yii::app()->request->baseUrl; ?>"+"/images/slide1.jpg",
															//url : "<?php echo Yii::app()->request->baseUrl; ?>"+"/images/slide1.jpg"
														},


												]

				});
		    });

		</script>
</head>
<body >
<?php Yii::app()->clientScript->registerCssFile(Yii::app()->request->baseUrl.'/css/construction.css'); ?>

<div class="container" id="page">
	<?php #include('nav_bg.php') ?>
	<?php
//	$curMenu = Yii::app()->params['globalbarMenu'];
//	if (empty($curMenu)) list(,$curMenu) = explode('/', $_SERVER['REQUEST_URI'], 3);
	$curMenu=$_SERVER['REQUEST_URI'];
	?>

	<?php $this->widget('bootstrap.widgets.BootNavbar', array(
	    #'type'=>'inverse', // null or 'inverse'
	    'brand'=>'Home',
	    'brandUrl'=>'/',
	    'collapse'=>true, // requires bootstrap-responsive.css
	    'items'=>array(
	        array(
	            'class'=>'bootstrap.widgets.BootMenu',
	            'items'=>array(
	                array('label'=>'Gallery', 'url'=>'gallery', 'active'=>$curMenu=='/gallery'),
	                array('label'=>'Video', 'url'=>'video', 'active'=>$curMenu=='/video'),
	                array('label'=>'Detail', 'url'=>'detail', 'active'=>$curMenu=='/detail'),
	                array('label'=>'Floor Plan', 'url'=>'floorPlan', 'active'=>$curMenu=='/floorPlan'),
	                array('label'=>'Location', 'url'=>'location', 'active'=>$curMenu=='/location'),
	                array('label'=>'Footscray', 'url'=>'footScray', 'active'=>$curMenu=='/footScray'),
	                array('label'=>'Contact', 'url'=>'contact', 'active'=>$curMenu=='/contact'),

	            ),
	        ),
	    ),
	)); ?>

	<?php echo $content; ?>

<!--	<div class="clear"></div>

	<div id="footer">
		Copyright &copy; <?php echo date('Y'); ?> by My Company.<br/>
		All Rights Reserved.<br/>
		<?php echo Yii::powered(); ?>
	</div>  -->

</div><!-- page -->

</body>
</html>
